﻿namespace DotNetCommon.Data;

/// <summary>
/// 分页查询请求
/// </summary>
public class PageQuery
{
    /// <summary>
    /// 请求的页码(约定: 从1开始),默认为1
    /// </summary>
    public int PageIndex { get; set; } = 1;

    /// <summary>
    /// 请求的分页大小,默认为10
    /// </summary>
    public int PageSize { get; set; } = 10;
}
